<?
if (!isset($page_title)) {
    $page_title = "Versija spausdinimui";
}
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="lt" lang="lt">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 
        <title><?=$page_title;?></title>        
        <link rel="stylesheet" href="GUI/Design/table.css" type="text/css"/>
        <style>
            thead {display: table-header-group;}
            tfoot { display: table-footer-group; }
            table {
                page-break-inside: avoid;
                margin-bottom: 10px;
            }
            h1 {
                font-size: 1.3em;
                text-align: center;
            }
            h2 {
                text-align: center;
                font-size: 1.2em;
            }
            h3 {
                font-size: 1.1em;
            }
            .legend div {
                display: inline-table;
                width: 200px;
            }
        </style>
    </head>
    <body>
<?
echo $main_content;
?>
    </body>
</html>